import 'package:flutter_clx_base/api/base_dio.dart';
import 'header_interceptor.dart';

class DioUtils extends BaseDio {
  static final DioUtils _singleton = DioUtils._internal();

  static DioUtils get instance => _singleton;

  DioUtils._internal();

  @override
  String setBaseUrl() {
    return "https://api.clxkj.cn:8088";
  }

  @override
  Interceptor getHeadersInterceptor() {
    return HeaderInterceptor();
  }
}
